package com.bookmarket.service;

import com.bookmarket.entity.*;

import java.util.List;
import java.util.Map;

public interface LQMainService {

    List<Stype> querySType();

    List<Stype> queryAllSType();

    List<Book> queryBook(Book book);

    List<Book> recommend();

    List<Book> enjoy();

    Book queryOneBook(int id);

    int addBookToShop(Book book,int customID, int number);

    List<Mess> queryBookMess(int id);

    void addClick(int id);

    int queryShop(int customId,int bookId);

    int updateBookNumToShop(Book book, int customID, int number);

    int queryBtypeByBookId(int id);

    List<Active> queryAllActive();
}
